


#ifndef _DDI_SPNORMALMANAGE_H_
#define _DDI_SPNORMALMANAGE_H_


#include "ddi_common.h"


extern s32 ddi_spnormalmanage_reset(void);
extern void ddi_spnormalmanage_hardwarereset(void);
extern s32 ddi_spnormalmanage_cancel(void);
extern s32 ddi_spnormalmanage_beep(u8 times,u32 beepfreq,u32 beepenabletimems,u32 beepdisabletimems);
extern s32 ddi_spnormalmanage_setsleeptime(u32 mssleeptime);
extern s32 ddi_spnormalmanage_getsleeptime(u32 *mssleeptime);
extern s32 ddi_spnormalmanage_setdevicesn(u8 *sn ,u32 snlen);
extern s32 ddi_spnormalmanage_getdevicesn(u8 *sn ,u32 *snlen);
extern s32 ddi_spnormalmanage_getversion(u8 versiontype,u8 *version,u32 *versionlen);
extern s32 ddi_spnormalmanage_randnum(u16 randnumlen,u8 *randnum,u16 *resprandnumlen);
extern s32 ddi_spnormalmanage_intosleep(void);


typedef s32 (*core_ddi_spnormalmanage_reset)(void);
typedef void (*core_ddi_spnormalmanage_hardwarereset)(void);
typedef s32 (*core_ddi_spnormalmanage_cancel)(void);
typedef    s32 (*core_ddi_spnormalmanage_beep)(u8 times,u32 beepfreq,u32 beepenabletimems,u32 beepdisabletimems);
typedef s32 (*core_ddi_spnormalmanage_setsleeptime)(u32 mssleeptime);
typedef s32 (*core_ddi_spnormalmanage_getsleeptime)(u32 *mssleeptime);
typedef s32 (*core_ddi_spnormalmanage_setdevicesn)(u8 *sn,u32 snlen);
typedef s32 (*core_ddi_spnormalmanage_getdevicesn)(u8 *sn,u32 *snlen);
typedef s32 (*core_ddi_spnormalmanage_getversion)(u8 versiontype,u8 *version,u32 *versionlen);
typedef s32 (*core_ddi_spnormalmanage_randnum)(u16 randnumlen,u8 *randnum,u16 *resprandnumlen);
typedef s32 (*core_ddi_spnormalmanage_intosleep)(void);

#endif



